package 异常.自定义异常;

// 运行时异常

// 1. 必须要让这个类继承自RuntimeException, 才能成为一个运行时异常类
public class AgeIllegalRuntimeException extends RuntimeException{
    public AgeIllegalRuntimeException() {
    }

    public AgeIllegalRuntimeException(String message) {
        super(message);
    }
}
